package com.xiaocg.proto;

import java.io.Serializable;

public class PrototypeObject implements Cloneable, Serializable {

    private String name;
    private Stu stu;

    public Stu getStu() {
        return stu;
    }

    public void setStu(Stu stu) {
        this.stu = stu;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    protected PrototypeObject clone() throws CloneNotSupportedException {
        return (PrototypeObject) super.clone();
    }
}
